package com.mindtalk.transferdata;

import java.io.Serializable;

public class Transferdata implements Serializable{
	/**
	 * Class yang menyimpan data tentang data user
	 */
	private static final long serialVersionUID = -8709364994268310776L;
	
	/* Daftar Variable */
	
	/*
	 * Username
	 * */
	String username;
	/*
	 * Password
	 * */
	String password;
	/*
	 * Host Tempat Konek
	 * */
	String host;
	/*
	 * Port Connected to
	 * */
	int port;
	/*
	 * Services, defined by server, e.g: gmail.com
	 * */
	String services;
	/*
	 * Friend to chat to --> maybe not used for the mean time
	 * */
	String chatTo;
	
	/*
	 * Konstruktor
	 * */
	public Transferdata(String username, String password,String host,int port,String service){
		this.username = username;
		this.password = password;		
	}
	
	/*
	 * Getter
	 * */
	public String getUsername(){
		return this.username;
	}
	
	public String getPassword(){
		return this.password;
	}
	
	public String getHost() {
		return this.host;
	}
	
	public int getPort() {
		return this.port;
	}
	
	public String  getService() {
		return this.services;
	}
	
	/*
	 * Setter
	 * */
	public void setChatTo(String username){
		this.chatTo = username;
	}
	
	public String getChatTo() {
		return this.chatTo;		
	}
}
